package cl.blueprintsit.utils.bdd;

import java.sql.Connection;
import java.sql.SQLException;

public interface SQLRepository {

    /**
     * This method is responsible for providing a valid SQL connection.
     *
     * @return A fresh connection.
     * @throws java.sql.SQLException Thrown if it is not possible to retrieve a connection.
     */
    public abstract Connection getConnection() throws SQLException;

    public void testConnection() throws SQLException;
}
